package com.qfedu.entity;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

public class FreightEntity implements Serializable {
    private String oid;
    private int rid;  //航空id
    private int uid;  //用户id
    private int sid;  //船id

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    private String ostatus;
    private String oprice;
    private String rname;//航运班期名
    private String splace;//起始地点
    private String aplace;//到达地点
    private String sname;  //船名
    private List<BoxEntity> box;
    private String bid;
    private String btype;
    private String bsize;
    private String bnum;

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public String getBtype() {
        return btype;
    }

    public void setBtype(String btype) {
        this.btype = btype;
    }

    public String getBsize() {
        return bsize;
    }

    public void setBsize(String bsize) {
        this.bsize = bsize;
    }

    public String getBnum() {
        return bnum;
    }

    public void setBnum(String bnum) {
        this.bnum = bnum;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getOstatus() {
        return ostatus;
    }

    public void setOstatus(String ostatus) {
        this.ostatus = ostatus;
    }

    public String getOprice() {
        return oprice;
    }

    public void setOprice(String oprice) {
        this.oprice = oprice;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public String getSplace() {
        return splace;
    }

    public void setSplace(String splace) {
        this.splace = splace;
    }

    public String getAplace() {
        return aplace;
    }

    public void setAplace(String aplace) {
        this.aplace = aplace;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public List<BoxEntity> getBox() {
        return box;
    }

    public void setBox(List<BoxEntity> box) {
        this.box = box;
    }

    @Override
    public String toString() {
        return "FreightEntity{" +
                "oid='" + oid + '\'' +
                ", rid=" + rid +
                ", uid=" + uid +
                ", sid=" + sid +
                ", ostatus='" + ostatus + '\'' +
                ", oprice='" + oprice + '\'' +
                ", rname='" + rname + '\'' +
                ", splace='" + splace + '\'' +
                ", aplace='" + aplace + '\'' +
                ", sname='" + sname + '\'' +
                ", box=" + box +
                ", bid='" + bid + '\'' +
                ", btype='" + btype + '\'' +
                ", bsize='" + bsize + '\'' +
                ", bnum='" + bnum + '\'' +
                '}';
    }
}
